package ck.com.pojo;

import java.io.Serializable;

public class Warehouse implements Serializable {

    private Integer id;
    private String warehouseCode;
    private String warehouseName;
    private Float volume;
    private Integer shelfAmounts;
    private Integer numOfShelfLayer;
    private Integer quantityOfShelives;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column warehouse.warehouseCode
     *
     * @return the value of warehouse.warehouseCode
     *
     * @mbg.generated
     */
    public String getWarehouseCode() {
        return warehouseCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column warehouse.warehouseCode
     *
     * @param warehouseCode the value for warehouse.warehouseCode
     *
     * @mbg.generated
     */
    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode == null ? null : warehouseCode.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column warehouse.warehouseName
     *
     * @return the value of warehouse.warehouseName
     *
     * @mbg.generated
     */
    public String getWarehouseName() {
        return warehouseName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column warehouse.warehouseName
     *
     * @param warehouseName the value for warehouse.warehouseName
     *
     * @mbg.generated
     */
    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName == null ? null : warehouseName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column warehouse.volume
     *
     * @return the value of warehouse.volume
     *
     * @mbg.generated
     */
    public Float getVolume() {
        return volume;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column warehouse.volume
     *
     * @param volume the value for warehouse.volume
     *
     * @mbg.generated
     */
    public void setVolume(Float volume) {
        this.volume = volume;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column warehouse.shelfAmounts
     *
     * @return the value of warehouse.shelfAmounts
     *
     * @mbg.generated
     */
    public Integer getShelfAmounts() {
        return shelfAmounts;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column warehouse.shelfAmounts
     *
     * @param shelfAmounts the value for warehouse.shelfAmounts
     *
     * @mbg.generated
     */
    public void setShelfAmounts(Integer shelfAmounts) {
        this.shelfAmounts = shelfAmounts;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column warehouse.numOfShelfLayer
     *
     * @return the value of warehouse.numOfShelfLayer
     *
     * @mbg.generated
     */
    public Integer getNumOfShelfLayer() {
        return numOfShelfLayer;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column warehouse.numOfShelfLayer
     *
     * @param numOfShelfLayer the value for warehouse.numOfShelfLayer
     *
     * @mbg.generated
     */
    public void setNumOfShelfLayer(Integer numOfShelfLayer) {
        this.numOfShelfLayer = numOfShelfLayer;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column warehouse.quantityOfShelives
     *
     * @return the value of warehouse.quantityOfShelives
     *
     * @mbg.generated
     */
    public Integer getQuantityOfShelives() {
        return quantityOfShelives;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column warehouse.quantityOfShelives
     *
     * @param quantityOfShelives the value for warehouse.quantityOfShelives
     *
     * @mbg.generated
     */
    public void setQuantityOfShelives(Integer quantityOfShelives) {
        this.quantityOfShelives = quantityOfShelives;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table warehouse
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", warehouseCode=").append(warehouseCode);
        sb.append(", warehouseName=").append(warehouseName);
        sb.append(", volume=").append(volume);
        sb.append(", shelfAmounts=").append(shelfAmounts);
        sb.append(", numOfShelfLayer=").append(numOfShelfLayer);
        sb.append(", quantityOfShelives=").append(quantityOfShelives);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}